package com.wisdytech.common.bean.event;

import com.wisdytech.app.produceExecute.common.bean.ParamMq;
import com.wisdytech.common.enums.ActionType;
import org.springframework.context.ApplicationEvent;

/**
 * mes参数事件
 * 单独对参数进行修改事件
 * @author chenbin
 *
 */
public class MesParamChangeEvent extends ApplicationEvent {

	/**
	 *
	 */
	private static final long serialVersionUID = 8702034044577100174L;
	/**新加的参数*/
	private ParamMq param;
	/**增删改查方式*/
	private ActionType operateType;

	public MesParamChangeEvent(Object source, ActionType operateType, ParamMq param) {
		super(source);
		this.operateType=operateType;
		this.param=param;
	}

	public ParamMq getParam() {
		return param;
	}

	public void setParam(ParamMq param) {
		this.param = param;
	}

	public ActionType getOperateType() {
		return operateType;
	}

	public void setOperateType(ActionType operateType) {
		this.operateType = operateType;
	}
}
